home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
lan
/
rpssrv.zip
/
RPNT-DEL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-05-04
|
1KB
|
36 lines
@echo off
if "%1"=="" goto done
if not exist %1\*.* goto done
echo You are about to remove the Remote Process and Shutdown Service
echo from %1.
echo.
yesno Do you wish to continue with this un-install process
if errorlevel 1 goto YES1
goto DONE
:YES1
echo.
if exist %1\RPSSNT.EXE %1\RPSSNT -uninstall
if exist %1\RPSSNT.EXE del %1\RPSSNT.EXE
if exist %1\RshutNT.EXE %1\RshutNT -remove
if exist %1\RshutNT.EXE del %1\RshutNT.exe
if exist %1\RPSREG.EXE del %1\RPSREG.EXE
if exist %1\RPSC.EXE del %1\RPSC.EXE
if exist %1\INSTHELP.DLL del %1\INSTHELP.DLL
if exist %1\*.TXT del %1\*.TXT
if exist %1\*.ICO del %1\*.ICO
if exist %1\RPSS.WRI del %1\RPSS.WRI
if exist %1\RPNT-INS.CMD del %1\RPNT-INS.CMD
if exist %windir%\SYSTEM32\RPSS.CPL del %windir%\SYSTEM32\RPSS.CPL
if exist %windir%\SYSTEM32\ShutDnNT.exe del %windir%\SYSTEM32\ShutDnNT.exe
rem rd /q /s %1
rd %1
echo.
echo Remote Process and Shutdown Service has been removed.
echo.
echo You will need to manually delete any program groups
echo or icons which relate to this application.
echo.
pause
:done
EXIT